
from django.conf.urls import url, include
from . import views

urlpatterns = [
    #1.结算页面
    url(r'^orders/settlement/$', views. OrderSettlementView.as_view(), name='settlement'),
    #2.提交订单
    url(r'^orders/commit/$', views.OrderCommitView.as_view(), name='commit'),
    #3.显示提交订单成功页面
    url(r'^orders/success/$', views.OrderSuccessView.as_view(), name='success'),
    # 4.订单详情页  /orders/info/' + current + '/';
    url(r'^orders/info/(?P<page_num>\d+)/$', views.DisplayView.as_view(), name='display'),
    # 5. 商品评论
    url(r'^orders/comments/$', views.OrderCommentsView.as_view(), name='comments'),
]
